mitk_create_module(
  INCLUDE_DIRS
    Algorithms
    Controllers
    DataManagement
    Interactions
    Rendering
    SegmentationUtilities/BooleanOperations
    SegmentationUtilities/MorphologicalOperations
  PCH
    mitkTool.h
  DEPENDS
    MitkAlgorithmsExt
    MitkBoundingShape
    MitkContourModel
    MitkGraphAlgorithms
    MitkMultilabel
    MitkSurfaceInterpolation
  TARGET_DEPENDS
    PUBLIC
      httplib::httplib
      ITKQuadEdgeMesh
      ITKRegionGrowing
    PRIVATE
      GrowCut
      ITKLabelMap
      ITKMathematicalMorphology
      OpenMP::OpenMP_CXX
      VTK::ImagingGeneral
)

if(TARGET ${MODULE_TARGET})
  add_subdirectory(autoload/IO)
  add_subdirectory(cmdapps)
  add_subdirectory(Testing)
endif()
